package com.kaifamiao.shop;

public class Main {

	public static void main(String[] args) {
		
		Printer p = null ;
		
		Room r = new Room();
		
		p = new ColorPrinter();
		r.print( p );
		
		p = new BlackPrinter();
		r.print( p );

	}

}
